# -*- coding: utf-8 -*-
#
# Author:: Jonny
# Date:: 2022/7/16
from config import private_config
from config.private_config import SENDER_CONFIG_LIST
from submodules.common.lib.email_ import send_email_html


def send_email_remind(subject="", text=""):
    email_info_ = {
        "sender_config_list": SENDER_CONFIG_LIST,
        "receivers": private_config.RECEIVERS,
        "to": private_config.TO,  # to中要加上sender，否则可能会识别为垃圾邮件~
        "subject": [subject, "utf-8"],
        "text": f"{text}",
    }
    send_email_html(**email_info_)
